﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibGreen.Events
{
	/// <summary>
	/// Provides a callback function for informational messages sent by the OSCAR library
	/// </summary>
	/// <param name="sess">The <see cref="Session"/> object raising the event</param>
	/// <param name="message">A status message</param>
	//public delegate void LoginStatusUpdateHandler (ISession sess, string message);
	/// <summary>
	/// Provides a callback function to be called during the login sequence to alert the user
	/// of positive progress
	/// </summary>
	/// <param name="sess">The <see cref="Session"/> object raising the event</param>
	/// <param name="message">A status message</param>
	/// <param name="percentdone">The percentage of the login progress that has been completed</param>
	public delegate void LoginStatusUpdateHandler (ISession sess, string message, double percentdone);


}
